package com.zhuyuan.system.service.impl;

import com.zhuyuan.database.base.BaseServiceImpl;
import com.zhuyuan.system.api.domain.SysDept;
import com.zhuyuan.system.mapper.SysDeptMapper;
import com.zhuyuan.system.service.ISysDeptService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: 张琳凯
 * @Description: TODO
 * @DateTime: 2025/2/17 14:53
 **/
@RequiredArgsConstructor
@Service
public class SysDeptServiceImpl extends BaseServiceImpl<SysDept,SysDeptMapper> implements ISysDeptService {

    private final SysDeptMapper deptMapper;

    @Override
    public List<Long> queryDeptAndSubIds(Long deptId) {
        return deptMapper.selectDeptAndSubIds(deptId);
    }
}
